package com.have.blog.model.mapper;

import com.have.blog.model.models.PictureCategory;
import com.have.blog.model.models.PictureCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PictureCategoryMapper {
    long countByExample(PictureCategoryExample example);

    int deleteByExample(PictureCategoryExample example);

    int deleteByPrimaryKey(Integer uid);

    int insert(PictureCategory record);

    int insertSelective(PictureCategory record);

    List<PictureCategory> selectByExample(PictureCategoryExample example);

    PictureCategory selectByPrimaryKey(Integer uid);

    int updateByExampleSelective(@Param("record") PictureCategory record, @Param("example") PictureCategoryExample example);

    int updateByExample(@Param("record") PictureCategory record, @Param("example") PictureCategoryExample example);

    int updateByPrimaryKeySelective(PictureCategory record);

    int updateByPrimaryKey(PictureCategory record);
}